all:mysqlconnectorc++client myapp
	
mysqlconnectorc++client:
	gcc -o mysqlconnectorc++client -g -I/usr/include/mysql -I/usr/include/cppconn -L/usr/lib/mysql -L/usr/lib -lmysqlclient_r -lmysqlcppconn mysqlconnectorc++client.cpp
	
myapp:
	gcc -o myapp -g -I/usr/include/mysql -L/usr/lib -L/usr/lib/mysql myapp.c -lmysqlclient
	
clean:
	rm -f myapp rm -f mysqlconnectorc++client
	